package com.gallop.mq.core.template.handler.registry;

import com.gallop.mq.core.template.handler.DeliveryContext;

/**
 * MQ具体监听创建方法
 * @param <T> MQ具体监听器类型
 */
@FunctionalInterface
public
interface ListenerCreator<T> {

    T create(DeliveryContext deliveryContext);
}
